﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;

namespace Juli.Mes.VisionData
{
    [Table("SaleRecords")]
    public class SaleRecord : Entity<int>
    {
        [MaxLength(320)]
        public string Customer { get; set; }

        [MaxLength(160)]
        public string Product { get; set; }

        [MaxLength(40)]
        public string Specification { get; set; }

        public int Quantity { get; set; }

        public int Year { get; set; }

        public bool IsOut { get; set; }

        [MaxLength(80)]
        public string Province { get; set; }

        [MaxLength(80)]
        public string Country { get; set; }

        [MaxLength(80)]
        public string Continent { get; set; }

        [MaxLength(80)]
        public string ContractNo { get; set; }

        [MaxLength(320)]
        public string ProductName { get; set; }
    }
}
